<template>
  <div class="about">
    <h1>首页</h1>
    <a @click="gotoA()">前往A</a>
  </div>
</template>
<script>
export default {
  data () {
    return {
      
    }
  },
  methods: {
    gotoA(){
      this.$router.push({
        name:'A'
      })
    }
  }
}
</script>
